<script setup lang="ts">
import Attribute from "@/components/attribute/attribute.vue";
import SelectPanel from "@/components/select-panel/select-panel.vue";
import QuestionEditor from "@/components/question-editor/question-editor.vue";

defineOptions({name: 'FormDesigner'})

</script>

<template>
  <div class="designer-container">
    <el-container>
      <el-main>
        <QuestionEditor/>
      </el-main>
      <el-aside width="360px">
        <Attribute/>
      </el-aside>
    </el-container>
    <!-- 问题选择面板 -->
    <SelectPanel/>
  </div>
</template>

<style scoped>
.designer-container {
  background-color: #f5f5f5;
}
</style>